import React from 'react'
import { useLocation } from 'react-router-dom'
import { LoginParam } from './datatype'
export default function Home() {
    const location = useLocation<LoginParam>()
    return (
        <div>
            home, {location.state?.a}
        </div>
    )
}
